package com.itheima.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName user
 */
@Data
@Builder
public class User implements Serializable {
    /**
     * 编号
     */
    private Long id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 龄年
     */
    private Integer age;

    /**
     * 电话
     */
    private String tel;

    private static final long serialVersionUID = 1L;

    @TableLogic //mybatis plus 逻辑删除注释
    private Integer deleted; //逻辑删除属性，1代表已删除 0代表未删除
}